package org.sucri.dao;

import javax.persistence.*;

/**
 * Created by IntelliJ IDEA.
 * User: Wen Yu
 * Date: Aug 30, 2007
 * Time: 11:26:57 PM
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(catalog = "vpp", name = "Tag")
public class TagEntity
{
  private int id;
  private String tag;

  @Basic
  @Column(name = "tag", nullable = false, length = 45)
  public String getTag()
  {
    return tag;
  }

  public void setTag(String tag)
  {
    this.tag = tag;
  }

  @Id
  @Column(name = "id", nullable = false, length = 10)
  public int getId()
  {
    return id;
  }

  public void setId(int id)
  {
    this.id = id;
  }
}
